Problem Note 48236: "Invalid value" and "Invalid option name" errors occur when you assign a library using the SAS® software's metadata (META) LIBNAME engine
When you define a library in your SAS® Metadata Repository using the SAS Data in HDFS Library template and you subsequently try to use that library in a client application that assigns the library using the META engine, the library fails to be assigned. When that happens, errors similar to the following occur:
2 libname airhdfs meta library='Airline HDFS';
ERROR 23-7: Invalid value for the PATH option.
ERROR 22-7: Invalid option name USER.
ERROR 23-7: Invalid value for the INSTALL option.
ERROR 22-7: Invalid option name /.
ERROR 22-7: Invalid option name ..
ERROR: Libname AIRHDFS is not assigned.
These errors occur because the META engine does not properly embed the options within quotation marks in the underlying LIBNAME statement, as shown in this example:
libname airhdfs sashdat path=/user/airline
install=/install/TKGrid server=host-name.com;
However, the META engine should generate this LIBNAME statement:
libname airhdfs sashdat path="/user/airline"
install="/install/TKGrid" server="host-name.com";
The only circumvention for this problem is to pre–assign the library using the native SASHDAT engine instead of the META engine in the LIBNAME statement.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Z64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2008 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Enterprise 32 bit | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Enterprise x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Home Premium x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Professional 32 bit | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Professional x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Ultimate x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows Vista | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows Vista for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
64-bit Enabled AIX | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
HP-UX IPF | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Linux | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Linux for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Solaris for x64 | 9.3_M2 | 9.4 | 9.3 TS1M2 | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The META engine fails to properly quote values in LIBNAME statement options that are associated with the underlying SASHDAT engine. This behavior results in syntax errors when that LIBNAME statement runs.
Type: | Problem Note |
Priority: | high |
Topic: | Data Management ==> Data Sources ==> Metadata Data Management ==> Data Sources ==> SAS Data Sets/Tables
|
Date Modified: | 2012-10-25 10:45:25 |
Date Created: | 2012-10-23 09:50:57 |